package com.work2.dao;

import com.work2.bean.Users;

import java.util.List;

public interface UsersDao {

    //添加数据
    public int addStu(Users users) throws Exception;

    //查询数据
    public List<Users> findUser() throws Exception;

    //删除数据
    public int delUser(int id) throws Exception;

    //动态查询
    public List<Users> findMove(int id, String username, String usepwd) throws Exception;

    //修改数据
    public int uptUser(Users users,int id)throws Exception;
}
